package org.elucid.gadmin.model;

import javax.swing.ImageIcon;

import org.elucid.gadmin.GTreeItem;
import org.elucid.gadmin.ui.GFrame;

public class DatabaseItem implements GTreeItem {
	
	ImageIcon icon = GFrame.createImageIcon("icons/database.png");
	String label;

	public DatabaseItem(String label) {
		super();
		this.label = label;
	}

	@Override
	public String toString() {
		return label;
	}

	@Override
	public ImageIcon getTreeIcon() {
		return icon;
	}
	
	
}
